package com.xianrenit.xianrenpuzi.manager.service.impl;

import com.xianrenit.xianrenpuzi.manager.mapper.OrderMapper;
import com.xianrenit.xianrenpuzi.manager.service.OrderService;
import com.xianrenit.xianrenpuzi.model.entity.order.OrderStatistics;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class OrderServiceImpl implements OrderService {
    @Resource
    OrderMapper orderMapper;
    @Override
    public OrderStatistics getOrderStatisticsByDate(String orderDate) {
        return orderMapper.selectOrderStatisticsByDate(orderDate);
    }
}
